;;;Creates viewport just inside our standard ARCH-D size sheet border.
;;;Includes a notch around our revision block.
;;;
;;;Expects the border to be scaled 1:1 with origin at 0.0,0.0 per standard.
;;;
;;;	Author:
;;;		Henry C. Francis
;;;		425 N. Ashe St.
;;;		Southern Pines, NC 28387
;;;
;;;     http://paracadd.com
;;;	All rights reserved.
;;;
;;;	Copyright: 2-6-2006
;;;	   Edited: 2-28-2007
;;;
(defun c:archdvp ()
  (command)
  (vl-load-com)
  (setq old_vp_osmode (getvar"osmode"))
  (setq old_vp_cecolor (getvar "cecolor"))
  (setq old_vp_celtype (getvar "celtype"))
  (setvar "osmode" 0)
  (setvar "cecolor" "ByLayer")
  (setvar "celtype" "ByLayer")
  (vla-put-MSpace (vla-get-Activedocument (vlax-get-Acad-Object)) :vlax-false)
;;;  (command "pspace")
  (command ".-layer" "m" "c-vi027nplt" "")
  (command ".mview" "p" "1.98,0.62" "33.3383,0.62" "33.3383,22.3314" "29.2342,22.3314" "29.2342,23.38" "1.98,23.38" "")
  (setvar "osmode" old_vp_osmode)
  (setvar "cecolor" old_vp_cecolor)
  (setvar "celtype" old_vp_celtype)
  (princ)
)

